﻿/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2012-2018. All rights reserved.
 * Description:
 * Author: 辛爱国 x30005137
 * Create: 2020-07-28
 * Notes: 无
 */
#pragma once
#include <QDialog>
#include <QMouseEvent>
#include <QResizeEvent>
#include <qscreen.h>
#include "HWDialog.h"
#include "ui_settingdialog.h"
#include "IdeaShareDef.h"
#include "IShareServiceController.h"
class SettingDialog : public HWDialog,
    public Ui::SettingDialog {
    Q_OBJECT

public:
    SettingDialog(QWidget *parent = Q_NULLPTR);
    ~SettingDialog();
public slots:
    void on_pushButtonExit_clicked();
    void on_pushButtonOK_clicked();
    void on_pushButtonCancel_clicked();
    void on_pushButtonLeftScreen_clicked();
    void on_pushButtonRightScreen_clicked();
    void screenShot();
    void setBuleBoder();
    void resizeWindow();
    static QString getEuaIP();
    static uint32_t getEuaPort();
    static uint32_t getLogLevel();
    static uint32_t getMouseShape();
private slots:


private:
#if defined(IDEASHAREKEY)
    void initKey();
#endif
    void init();
    ShareAppScreenType  chooseShareScreen{ SCREEN_PRIMARY };
    static QString mEuaIP;
    static uint32_t mEuaPort;
    static uint32_t mLogLevel;
    static uint32_t mMouseShape;
};
